﻿using System;
using System.Collections.Generic;
using System.Data.Services;
using System.Linq;
using System.ServiceModel.Activation;
using System.Text;
using System.Web.Routing;

namespace NextCommerce.Web.OData {
	public class RegisterOData {

		public static void Register(RouteCollection routes) {
			var factory = new DataServiceHostFactory();
			routes.Add(new ServiceRoute("Services", factory, typeof(CategoriesService)));
		}

	}
}
